package org.thanos.demo.http.config;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.thanos.demo.http.filter.AuthFilter;

@Configuration
@SpringBootConfiguration
@EnableConfigurationProperties(AuthProperties.class)
@ConditionalOnClass(AuthFilter.class)
public class AuthConfig {

    @Autowired
    private AuthProperties authProperties;
}
